window.onload=function(){
    document.getElementById("allnews").addEventListener("click",function(){
        location.href='../view/news-allnews.html'
    })
    document.getElementById("newtea").addEventListener("click",function(){
        location.href='../view/news-newtea.html'
    })
    document.getElementById("productnews").addEventListener("click",function(){
        location.href='../view/news-productnews.html'
    })
    document.getElementById("news1").addEventListener("click",function(){
        location.href='../view/news1.html'
    })
    document.getElementById("news2").addEventListener("click",function(){
        location.href='../view/news2.html'
    })
    document.getElementById("news3").addEventListener("click",function(){
        location.href='../view/news3.html'
    })
    document.getElementById("news4").addEventListener("click",function(){
        location.href='../view/news4.html'
    })
    document.getElementById("news5").addEventListener("click",function(){
        location.href='../view/news5.html'
    })
    document.getElementById("news6").addEventListener("click",function(){
        location.href='../view/news6.html'
    })
    document.getElementById("news7").addEventListener("click",function(){
        location.href='../view/news7.html'
    })
    document.getElementById("news8").addEventListener("click",function(){
        location.href='../view/news8.html'
    })
    document.getElementById("news9").addEventListener("click",function(){
        location.href='../view/news9.html'
    })
}